<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h3>修改笔记</h3>
    
    <form action="/updatenote" method="post">
        <input type="hidden" name="id" id="" value="<%=data._id%>">
        <label for="inp1">笔记标题：<input type="text" name="title" id="inp1" value="<%=data.title%>"></label><br />
        <label for="inp2">笔记内容：<textarea name="content" id="inp2"><%=data.content%></textarea></label><br />
        <button>修改</button>
    </form>
</body>
</html>